package com.example.androidnote.main;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.androidnote.R;
import com.example.androidnote.domain.MainDomain;

public class MainAdapter extends BaseQuickAdapter<MainDomain.MainEntity.DataBean, BaseViewHolder> {
    public MainAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, MainDomain.MainEntity.DataBean item) {
        helper.setText(R.id.tv_title_item_activity_main, item.getName());
    }
}
